package com.xgg.taiwuinfo.gongfa.shaolin.changbing;

import com.xgg.taiwuinfo.R;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cast;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Body;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Damage;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Hit;
import com.xgg.taiwuinfo.gongfa.base.Gongfa;
import com.xgg.taiwuinfo.gongfa.base.Gongfa_Cuipo_Changbing;
import com.xgg.taiwuinfo.gongfa.readingeffect.Reading_Text;
import com.xgg.taiwuinfo.utils.Element;
import com.xgg.taiwuinfo.utils.Inherit;
import com.xgg.taiwuinfo.utils.Requirement;

public class DaZhiPuTiZhangFa extends Gongfa_Cuipo_Changbing {

    public DaZhiPuTiZhangFa()
    {
        super("大智菩提杖法" , 2 , Element.ELEMENT_NONE , Inherit.INHERIT_SHAOLIN);
        mGridOccupy = 2;
        //式
        Shi = new int[] { 0 , 0 , 5};/*劈刺撩*/
        //施法时间及气势
        ability_cast = new Ability_Cast(38 , 40, 60);
        //命中分布
        ability_cuipo_hit = new Ability_Cuipo_Hit(new int[] {2,4,4}, new int[] { 240, 400, 380});
        //攻击部位
        ability_cuipo_body = new Ability_Cuipo_Body(new int[]{
                /*胸腰头*/         25, 25, 5,
                /*四肢*/           10, 10, 10, 10,
                /*心神，毒，全身*/ 0,  0,  0
        });
        ability_cuipo_damage = new Ability_Cuipo_Damage(45,150,260,0.5 , 6, 0);
        PushYunGongObject(Gongfa.ABL_INDEX_Jingmiao ,175 );
        PushYunGongObject(Gongfa.ABL_INDEX_Lidao, 75);
        PushYunGongObject(Gongfa.ABL_INDEX_Yuqi, 20);
        InitYunGongAbility();

        mGongfaRequired[Requirement.GF_CB] = 500;
        mAttrRequired[Requirement.ATTR_LL] = 90;
        mAttrRequired[Requirement.ATTR_LM] = 90;
        mAttrRequired[Requirement.ATTR_DL] = 130;
        mJiyiRequired[Requirement.JY_FX] = 500;

        PosfullReading = new Reading_Text(R.string.reading_dazhiputizhangfa_pos);
        NegfullReading = new Reading_Text(R.string.reading_dazhiputizhangfa_neg);
    }
}
